package com.starry.module.system.api.oauth2.domain.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Set;

/**
 * 第三方客户端Oauth2ThirdClientQo
 * @author xiaoke
 */
@Schema(description = "Oauth2ThirdClientQo")
@Data
public class Oauth2ThirdClientQo {

    private Long id;
    /**
     * 客户端编码
     */
    @Schema(description = "客户端编码")
    private String code;

    /**
     * logo
     */
    @Schema(description = "logo")
    private String logo;
    /**
     * 客户端名称
     */
    @Schema(description = "客户端名称")
    private String name;
    /**
     * 客户端Id
     */
    @Schema(description = "客户端Id")
    private String clientId;
    /**
     * 客户端密钥
     */
    @Schema(description = "客户端密钥")
    private String clientSecret;
    /**
     * PC端回调地址
     */
    @Schema(description = "PC端回调地址")
    private String pcRedirectUrl;
    /**
     * PC端回调地址
     */
    @Schema(description = "APP端回调地址")
    private String appRedirectUrl;
    /**
     * scope
     */
    @Schema(description = "scope")
    private Set<String> scope;
    /**
     * 获取用户信息的地址
     */
    @Schema(description = "获取用户信息的地址")
    private String userInfoUri;
    /**
     * 获取token地址
     */
    @Schema(description = "获取token地址")
    private String tokenUri;
    /**
     * 发起授权申请的地址
     */
    @Schema(description = "发起授权申请的地址")
    private String authorizationUri;
}

